<!DOCTYPE html>
<html>
<head>
    <title>get url and user</title>
</head>
<body>

user:{{ request.user }}|
url:{{ request.path }}|
getvalue:{{ request.GET.urlencode }}|
<a href="{{ request.path }}?{{ request.GET.urlencode }}&delete=1">当前网址加参数 delete</a>
<a href="{% url 'homepage' %}">home</a>
 
</body>
</html>